package com.djinfo.work.dao;


import com.djinfo.work.entity.QsDicEntity;
import com.djinfo.work.entity.QsQuestionEntity;

import java.util.List;

/**
 * @date 2017-06-08 10:48:16
 */
public interface QsQuestionDao{
    public void saveOrUpdate(QsQuestionEntity object);

    public List<QsQuestionEntity> page(String hql, Integer pageNum, Integer pageSize);
    public List<QsQuestionEntity> list(QsQuestionEntity object);
    public Integer getAllRowCount(String hql);
    public void delete(QsQuestionEntity object);
    public QsQuestionEntity selectOne(QsQuestionEntity object);
    public QsQuestionEntity getById(String id);
}
